package org.afs.gescol.core.dao.interfaces;

import java.util.List;

import org.afs.gescol.core.dto.SeriesCriteria;
import org.afs.gescol.core.model.references.Series;

/**
 * Dao interface for school Series management
 * @autor Kobla GBENYO (kobla.gbenyo@gmail.com)
 */
public interface SeriesDao {

    /**
     * Get Series model by its id.
     * @param id the id of the Series to get
     * @return the Series to get
     */
    Series getSeriesById(Long id);

    /**
     * Get a list of Series models by criteria.
     * @param seriesCriteria the Series search criteria
     * @return the list of Series models that matches with the providing criteria
     */
    List<Series> getSeriesByCriteria(SeriesCriteria seriesCriteria);

}
